package com.wwj.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wwj.springboot.entity.CmfzBanner;

import java.util.List;
import java.util.Map;

public interface CmfzBannerService extends IService<CmfzBanner>{


    Map selectByPage(int page, int limit);

    CmfzBanner selectOne(int id);

    Map deleteBanner(int id);

    Map addBanner(CmfzBanner banner);

    Map updateBanner(CmfzBanner banner);

    List<CmfzBanner> selectAll();
    Map uploadList(List<CmfzBanner> cmfzBanners);
}
